import { Uri } from '@/constant/Constants';
import Http from '@/utils/Http';
import { AdResponse } from '@/protocol/response/AdResponse';
import type { AdRequest } from '@/protocol/request/AdRequest';

export default class AdService{
    public static async look(request:AdRequest.Look) {
        return await Http.request(Uri.ad_look, request, new AdResponse.Look(),true,false);
    }

    public static async config() {
        return await Http.request(Uri.ad_config, null, new AdResponse.AdConfig(),true,false);
    }
}